WCML\MultiCurrency\ExchangeRateServices\Service S

Total Complexity 29
Dependencies 4
Dependents 2
Total lines 226
Lines of code 100
Logical lines of code 45
Comment lines 85
Methods 20
Properties 1

Methods 20

Method Rating Maintainability Complexity Lines of code
get_formatted_error()
S
51 5 26
getRates()
S
57 3 16
extractRates()
S
68 2 7
makeRequest()
S
65 2 8
getSettings()
S
70 2 6
getLastError()
S
80 1 3
clearLastError()
S
80 1 3
saveLastError()
S
66 1 9
saveSetting()
S
73 1 5
getSetting()
S
79 1 3
saveSettings()
S
79 1 3
getId()
S
100 1 0
getName()
S
100 1 0
isInvalidResponse()
S
80 1 3
getRequestHeaders()
S
82 1 3
resetConnectionCache()
S
91 1 2
isKeyRequired()
S
100 1 0
getApiUrl()
S
100 1 0
getUrl()
S
100 1 0
getApiKey()
S
80 1 3